<%--
  Created by IntelliJ IDEA.
  User: 雄帅
  Date: 2018/8/31
  Time: 15:02
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="d" uri="http://dgg.net/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>已转让资质记录</title>
    <%@ include file="../../../header.jsp" %>
</head>
<body  class="body-main">

<div class="titleSearch" id="search">
    <d:hasUrlAuth authCode="ZZSC_ZS_SYB">
    <div class="layui-inline">
        <label>所属事业部：</label>
        <div class="layui-input-inline">
            <select class="select-style" name="signOrgId" id="signOrgId">
                <option value="">请选择</option>
            </select>
        </div>
    </div>
    </d:hasUrlAuth>

    <div class="layui-inline">
        <label>资质类型：</label>
        <div class="layui-input-inline">
            <select class="select-style" name="certificateType" id="certificateType"
                    onchange="loadCertificateType('190px','#certificateType','${generalType}',1,'#certificateSpecialty',0,'#certificateLevel')">
                <option value="">请选择</option>
            </select>
        </div>
    </div>
    <div class="layui-inline">
        <label>资质名称：</label>
        <div class="layui-input-inline">
            <select class="select-style" name="certificateSpecialty" id="certificateSpecialty">
                <option value="">请选择</option>
            </select>
        </div>
    </div>
    <div class="layui-inline">
        <label>资质等级：</label>
        <div class="layui-input-inline">
            <select class="select-style" name="certificateLevel">
                <option value="">请选择</option>
                <c:forEach items="${certificateLevels}" var="level">
                    <option value="${level.code}">${level.name}</option>
                </c:forEach>
            </select>
        </div>
    </div>

    <div class="layui-inline">
        <label>地区：</label>
        <div class="layui-input-inline" id="certificateArea">
            <input type="hidden" name="certificateAreaId" id="certificateAreaId" class="plug-in-msg"/>
            <input type="hidden" name="certificateAreaCodes" id="certificateAreaCodes" class="plug-in-code"/>
            <input type="text" readonly placeholder="请选择" class="chose-plugIn layui-input">
            <div class="bus-picker">
                <div class="bus-picker-tab">
                    <a href="javascript:void(0);" class="active">请选择</a>
                </div>
                <div class="bus-picker-content"></div>
            </div>
        </div>
    </div>

    <div class="layui-inline">
        <label>适用范围：</label>
        <div class="layui-input-inline">
            <select class="select-style" id="applicationScope">
                <option value="">请选择</option>
                <c:forEach var="a" items="${applicationScopes}">
                    <option value="${a.code}">${a.name}</option>
                </c:forEach>
            </select>
        </div>
    </div>

    <div class="layui-inline">
        <label>关键字：</label>
        <div class="layui-input-inline">
            <input type="text" id="keyword" class="input-style win250" placeholder="原所属企业/资质编号"/>
        </div>
    </div>

    <div class="layui-inline">
        <button class="layui-btn layui-btn-mini layui-btn-normal" onclick="search('#myTable','reload')">搜索</button>
        <button class="layui-btn layui-btn-mini layui-btn-primary" onclick="cleanSearch()">清空</button>
        <button class="layui-btn layui-btn-mini layui-btn-primary layui-btn-green" onclick="exportTransferredRecord()">导出</button>
    </div>
</div>
<div style="display: none;">
    <input id="generalType" value="${generalType}"/>
</div>
<table id="myTable" class="cell-border crm-table">
</table>

<%@ include file="../../../footer.jsp" %>
<script src="${rootUrl}/static/js/zzsc/credential/credentailCommon/credentailCommon.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/credential/qualificationTransfer/transferred_record.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/production/sc_common.js?v=${version}"></script></body>
</html>
